
<div id="tao_chuyendimoi">
	<div id="tieude_tao_chuyendimoi">
    	<img src="<?php echo base_url();?>image/admin/menu.png" width="35px" height="35px"><label>TẠO CHUYẾN ĐI MỚI</label>
    </div>
    <div id="noidung_tao_chuyendimoi">
        <div id="control_noidung_tao_chuyendimoi">
            <div id="control_noidung_tao_chuyendimoi_quayve"><label><a href="<?php echo base_url();?>index.php/admin/admin/qlchuyendi">Quay về</a></label></div>
            <div id="control_noidung_tao_chuyendimoi_luu"><label><a href="#" onclick="document.forms['tao_chuyendimoi_form_frm'].submit(); return false;">Đồng ý</a></label></div>
        </div>
        <div id="tao_chuyendimoi_form">
					<?php
                        $attributes = array('id'=>'tao_chuyendimoi_form_frm', 'name'=>'tao_chuyendimoi_form_frm');			
                        echo form_open_multipart(base_url().'index.php/admin/admin/insert_chuyendi',$attributes);
                    ?>                            	
                        <div class="block_tao_chuyendimoi">
                        	<label>Chọn tour</label>                            
                            <select class="input_tao_chuyendimoi" name="admin_chontour_tao_chuyendimoi" id="admin_chontour_tao_chuyendimoi">
                                <?php
                                foreach($item as $element){?>
                                 <option value=<?php echo $element['id_tour']?>><?php echo $element['ten_tour']?></option>
                                <?php }
                                ?>
                            </select>                            
                          </div>
                        <div class="block_tao_chuyendimoi">
                        	<label>Ngày bắt đầu</label>
                      		<input class="input_tao_chuyendimoi" type="text" id="admin_ngaybatdau_tao_chuyendimoi" name="admin_ngaybatdau_tao_chuyendimoi" value="<?php echo set_value('admin_ngaybatdau_tao_chuyendimoi','')?>"/>
                         </div>
                         <?php echo form_error('admin_ngaybatdau_tao_chuyendimoi', '<div class="error_validate_tao_chuyendimoi">', '</div>'); ?>                          
						 <div class="block_tao_chuyendimoi">
                        	<label>Ngày kết thúc</label>
                      		<input class="input_tao_chuyendimoi" type="text" id="admin_ngaykethuc_tao_chuyendimoi" name="admin_ngaykethuc_tao_chuyendimoi" value="<?php echo set_value('admin_ngaykethuc_tao_chuyendimoi','')?>"/>
                         </div>
                        <?php echo form_error('admin_ngaykethuc_tao_chuyendimoi', '<div class="error_validate_tao_chuyendimoi">', '</div>'); ?>                          

                        <div class="block_tao_chuyendimoi">
                        	<label>Giá</label>
                      		<input class="input_tao_chuyendimoi" type="text" id="admin_gia_tao_chuyendimoi" name="admin_gia_tao_chuyendimoi" value="<?php echo set_value('admin_gia_tao_chuyendimoi','')?>"/>
                         </div>
                         <?php echo form_error('admin_gia_tao_chuyendimoi', '<div class="error_validate_tao_chuyendimoi">', '</div>'); ?>                          

                         <div class="block_tao_chuyendimoi">
                        	<label>Phương tiện</label>
                      		<input class="input_tao_chuyendimoi" type="text" id="admin_phuongtien_tao_chuyendimoi" name="admin_phuongtien_tao_chuyendimoi" value="<?php echo set_value('admin_phuongtien_tao_chuyendimoi','')?>"/>
                         </div>
                         <?php echo form_error('admin_phuongtien_tao_chuyendimoi', '<div class="error_validate_tao_chuyendimoi">', '</div>'); ?>                          


                    </form>
                </div> 	
    </div>
</div>